package com.uatair.common.tcp.util;

import lombok.Data;

@Data
public class PositionData {
    //时间戳
    public long timestamp;
    //定位状态
    public byte positionStatus = ProtocolConstants.POS_STATUS_SINGLE;
    //定位卫星数量
    public byte satelliteCount = 0;
    //东/西经标志位
    public boolean isEast = true;
    //经度
    public double longitude = 113.5;
    //南/北纬标志位
    public boolean isNorth = true;
    //纬度
    public double latitude = 34.5;
    //海拔
    public short altitude = 150;
    //速度
    public short speed = 50; // 0.1km/h
    //方向
    public short direction = 90;
    //作业状态
    public byte workStatus = 1;
    //作业类型1
    public byte workType1 = 51; // 植保
    public byte workType2 = 0;
    public byte workType3 = 0;
    public byte workType4 = 0;
    //作业质量1
    public short quality1 = 0; // cm
    //作业质量2
    public short quality2 = 0; // ml/s
    //作业质量3
    public short quality3 = 0;
    //无人机型号
    public String droneModel = "Q100";
    //作业行间距
    public short rowSpacing = 2000; // mm
    //机身角度传感器x
    public short angleX = 0;
    //机身角度传感器y
    public short angleY = 0;
    //机身角度传感器z
    public short angleZ = 0;
    //角度传感器1x
    public short angle1X = 0;
    //角度传感器1y
    public short angle1Y = 0;
    //角度传感器1z
    public short angle1Z = 0;
    //角度传感器2x
    public short angle2X = 0;
    //角度传感器2y
    public short angle2Y = 0;
    //角度传感器2z
    public short angle2Z = 0;
    //实时作业面积
    public short area = 0000;
    //网络信号强度
    public byte signal = 0;
    //定位作业数据待回传量
    public short workNum = 00000000;
    //照片数据待回传量
    public short pictureNum = 00000000;
}
